let devGateway = '127.0.0.1:6001'

export default {
  title: 'CloudDesk',
  cookieExpires: 1/24,
  useI18n: false,
  visitorTestUrl: {
    dev: 'http://127.0.0.1:8081',
    pro: 'https://desk.shihuan.site/service'
  },
  baseUrl: {
    dev: 'http://'+devGateway,
    pro: 'https://desk.shihuan.site/desk-gateway'
  },
  baseWs:{
    dev: 'ws://'+devGateway,
    pro: 'wss://desk.shihuan.site/desk-wss'
  },
  host: {
    dev: '/',
    pro: '/desk/'
  },
  /**
   * @description 默认打开的首页的路由name值，默认为home
   */
  homeName: 'home',
  /**
   * @description 需要加载的插件
   */
  plugin: {
    'error-store': {
      showInHeader: true, // 设为false后不会在顶部显示错误日志徽标
      developmentOff: true // 设为true后在开发环境不会收集错误信息，方便开发中排查错误
    }
  }
}
